package com.itstyle.seckill.topic.desinger.design_cj.builder;

/**
 * @Auther: liuwenxiang
 * @Date: 2019/9/18 17:00
 * @Description:
 */
public class Director {


    private  Builder builder;

    public Director(Builder builder){
        this.builder=builder;
    }

    public Product construct(){

        builder.buildPartA();
        builder.buildPartB();
        builder.buildPartC();

        return builder.getResult();

    }


}
